#include "lib.h"

class Snake{
	public:
		Snake(bool);
		void snakeMove(int);
		void snakeRun();
		void snakeAppend();
		void newControl();
		void snakeDie();
		
		int getSnakeLengh() {return this->snake_lengh;}
		int getSnakePos(int w, int n) {return this->snake_pos[w][n];}
		
	private:	
		int dir;
		
		int snake_pos[480][2];
		int snake_lengh;
		
		int player_number;

		bool second_player;
};
